//三叉链表节点

class TripleNode {
    // 构造器
    constructor(data = null, parent = null, left = null, right = null) {
        this.data = data
        this.parent = parent
        this.left = left
        this.right = right
    }
    // 返回描述字符串
    toString() {
        return this.data + ""
    }
}

module.exports = TripleNode